package ${packageName};

//***************************************************
// 对象自动生成，可按需要修改字段与属性，自动生成不会产生覆盖
// 需要全新生成时删除本对象重新生成即可
//***************************************************

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

<#list javaTypes as item>
import ${item};
</#list>

/**
 * ${remark}添加参数
 */
@Data
public class ${modelName}Add {
<#list columns as column>
    <#if column.isIncrement == 1><#continue /></#if>
    <#if column.isTime == 1>
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ssZ")
    @DateTimeFormat(pattern = "yyyy-MM-dd'T'HH:mm:ssZ")
    </#if>
    @ApiModelProperty(value = "${column.remark}")
    private ${column.type} ${column.camelName};
</#list>
}